<template>
    <div class="dashboard-wrap">
        dashboard 工作台
    </div>
</template>
<script lang="ts" setup>
    import { h } from 'vue';
    import { HomeOutlined } from '@ant-design/icons-vue';
    defineOptions({
        name: 'system'
    });

    // 路由元信息配置
    const routeMeta = {
        title: '工作台',
        icon: () => h(HomeOutlined),
        requiresAuth: true,
        roles: ['admin']
    };
    // 导出供路由生成器使用
    defineExpose({
        routeMeta
    });
</script>